@REM 删除平台系统表结构

@REM 初始化环境变量
call Common.bat

@REM 执行脚本
set PGPASSWORD=%pg_password%
set PGCLIENTENCODING=UTF8
"D:/Program Files/PostgreSQL/12/bin/psql"  --echo-all --host=%pg_host% --port=%pg_port% --dbname=%pg_db% --username=%pg_username% -c "SET search_path TO %pg_schema%;" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.basic.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.code.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.conn.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.data.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.job.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.mda.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.monitor.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.sample.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.uni.sql" ^
      -f "%dir%/2.init-database/%version%/postgres/drop/anvil.postgres.drop.wf.sql"
